﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCA.Community.DAL.Model;

namespace LCA.Community.DAL.Interfaces
{
    /// <summary>
    /// The interface for groups repository
    /// </summary>
    public interface IGroupsRepository : IBaseRepository<Group>
    {
        List<User> GetGroupMembers(string groupID);
        List<Group> GetGroupsByUser(string userID);
        List<Group> GetGroupsContainingName(string name);

        List<Group> RecentGroups { get; }
    }
}
